import request from '@/utils/request';

export default{
    loginIn(username,userpass){
        return request({
            method:"post",
            url:"/admin/adminlogin",
            data:{
                username,
                userpass
            }
        })
    },
    checkToken(token){
        return request({
            method:"get",
            url:'/user/verify',
            params:{
                token
            }
        })
    }
}